package com.ktjy.service;

import com.ktjy.dao.PetDao;
import com.ktjy.entity.Pet;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 黄军艳
 * @version 1.0
 * @date 2024/12/6  13:41
 */
@Service("petService")
public class PetServiceImpl implements PetService {
    @Autowired
    PetDao petDao;
    @Override
    public boolean save(Pet pet) {
        return petDao.insert(pet)>0;
    }
}
